<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>轮回之牢: BaseItem类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">轮回之牢<span id="projectnumber">&#160;0.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="class_base_item-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">BaseItem类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p>物品基类  
 <a href="class_base_item.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_base_item_8h_source.html">BaseItem.h</a>&gt;</code></p>
<div class="dynheader">
类 BaseItem 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_item__inherit__graph.png" border="0" usemap="#a_base_item_inherit__map" alt="Inheritance graph"/></div>
<map name="a_base_item_inherit__map" id="a_base_item_inherit__map">
<area shape="rect" title="物品基类" alt="" coords="5,284,83,311"/>
<area shape="rect" href="class_base_buff.html" title="buff基类" alt="" coords="143,157,218,184"/>
<area shape="rect" href="class_base_weapon.html" title="武器基类" alt="" coords="131,360,231,387"/>
<area shape="rect" href="class_armour.html" title="盔甲基类" alt="" coords="323,31,387,57"/>
<area shape="rect" href="class_glass_purple.html" title="紫色药瓶" alt="" coords="308,81,401,108"/>
<area shape="rect" href="class_glass_red.html" title="红色药瓶" alt="" coords="315,132,394,159"/>
<area shape="rect" href="class_lost_eye.html" title="失落之眼" alt="" coords="319,183,390,209"/>
<area shape="rect" href="class_osseous_remains.html" title="残骨质" alt="" coords="292,233,417,260"/>
<area shape="rect" href="class_armour_bronze.html" title="铜制盔甲" alt="" coords="479,5,584,32"/>
<area shape="rect" href="class_armour_plat.html" title="紫水晶盔甲" alt="" coords="488,56,575,83"/>
<area shape="rect" href="class_axe.html" title="斧子" alt="" coords="332,284,377,311"/>
<area shape="rect" href="class_fire_elemental_weapon.html" title="火精灵专用武器，不可掉落" alt="" coords="279,335,430,361"/>
<area shape="rect" href="class_ice_elemental_weapon.html" title="冰精灵专属武器，不可掉落" alt="" coords="282,385,427,412"/>
<area shape="rect" href="class_leaf_elemental_weapon.html" title="叶精灵专属武器，不可掉落" alt="" coords="279,436,431,463"/>
<area shape="rect" href="class_none_weapon.html" title="玩家的默认武器，手持物品不为武器是自动创建此武器" alt="" coords="305,487,405,513"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a55e1e3ef6da56e19cf614bc017912ac0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a55e1e3ef6da56e19cf614bc017912ac0">getDropProbability</a> () const</td></tr>
<tr class="memdesc:a55e1e3ef6da56e19cf614bc017912ac0"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取掉落概率  <a href="class_base_item.html#a55e1e3ef6da56e19cf614bc017912ac0">更多...</a><br /></td></tr>
<tr class="separator:a55e1e3ef6da56e19cf614bc017912ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af33b79b244475fc25c2a4dade622b2d5"><td class="memItemLeft" align="right" valign="top">virtual const QString &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#af33b79b244475fc25c2a4dade622b2d5">getImgPath</a> () const</td></tr>
<tr class="memdesc:af33b79b244475fc25c2a4dade622b2d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">提供给前端的图片路径  <a href="class_base_item.html#af33b79b244475fc25c2a4dade622b2d5">更多...</a><br /></td></tr>
<tr class="separator:af33b79b244475fc25c2a4dade622b2d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a354a59be320769cdcec902e6c11ad4bc"><td class="memItemLeft" align="right" valign="top">virtual QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a354a59be320769cdcec902e6c11ad4bc">getClassName</a> () const =0</td></tr>
<tr class="memdesc:a354a59be320769cdcec902e6c11ad4bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">类名  <a href="class_base_item.html#a354a59be320769cdcec902e6c11ad4bc">更多...</a><br /></td></tr>
<tr class="separator:a354a59be320769cdcec902e6c11ad4bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90c0d86f19fd5f9a7bdbd7ce48ee6e75"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a90c0d86f19fd5f9a7bdbd7ce48ee6e75">use</a> ()</td></tr>
<tr class="memdesc:a90c0d86f19fd5f9a7bdbd7ce48ee6e75"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回物品是否损坏  <a href="class_base_item.html#a90c0d86f19fd5f9a7bdbd7ce48ee6e75">更多...</a><br /></td></tr>
<tr class="separator:a90c0d86f19fd5f9a7bdbd7ce48ee6e75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cf660a7184a8e0c905b41e1648bb5b9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a2cf660a7184a8e0c905b41e1648bb5b9">isUnbreakable</a> () const</td></tr>
<tr class="memdesc:a2cf660a7184a8e0c905b41e1648bb5b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取是否不可破坏  <a href="class_base_item.html#a2cf660a7184a8e0c905b41e1648bb5b9">更多...</a><br /></td></tr>
<tr class="separator:a2cf660a7184a8e0c905b41e1648bb5b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2bdbbfbd53ce17757c91a8400a23a89"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#ab2bdbbfbd53ce17757c91a8400a23a89">getDurability</a> () const</td></tr>
<tr class="memdesc:ab2bdbbfbd53ce17757c91a8400a23a89"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取物品当前耐久  <a href="class_base_item.html#ab2bdbbfbd53ce17757c91a8400a23a89">更多...</a><br /></td></tr>
<tr class="separator:ab2bdbbfbd53ce17757c91a8400a23a89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1017a64916848f8b7b3671590a610964"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a1017a64916848f8b7b3671590a610964">getMaxDurability</a> () const</td></tr>
<tr class="memdesc:a1017a64916848f8b7b3671590a610964"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取物品最大耐久  <a href="class_base_item.html#a1017a64916848f8b7b3671590a610964">更多...</a><br /></td></tr>
<tr class="separator:a1017a64916848f8b7b3671590a610964"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a3d966b5252386cad87a1aba61cd3c65c"><td class="memItemLeft" align="right" valign="top"><a id="a3d966b5252386cad87a1aba61cd3c65c" name="a3d966b5252386cad87a1aba61cd3c65c"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>drop_probability</b></td></tr>
<tr class="memdesc:a3d966b5252386cad87a1aba61cd3c65c"><td class="mdescLeft">&#160;</td><td class="mdescRight">掉落概率，单位：百分之掉落概率 <br /></td></tr>
<tr class="separator:a3d966b5252386cad87a1aba61cd3c65c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a95be0d3fe58b46b495c8d8cd9832cf66"><td class="memItemLeft" align="right" valign="top"><a id="a95be0d3fe58b46b495c8d8cd9832cf66" name="a95be0d3fe58b46b495c8d8cd9832cf66"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>img_path</b></td></tr>
<tr class="memdesc:a95be0d3fe58b46b495c8d8cd9832cf66"><td class="mdescLeft">&#160;</td><td class="mdescRight">前端使用，图片路径 <br /></td></tr>
<tr class="separator:a95be0d3fe58b46b495c8d8cd9832cf66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1555359d7cdfdaba548208da98a6f06f"><td class="memItemLeft" align="right" valign="top"><a id="a1555359d7cdfdaba548208da98a6f06f" name="a1555359d7cdfdaba548208da98a6f06f"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>durability</b></td></tr>
<tr class="memdesc:a1555359d7cdfdaba548208da98a6f06f"><td class="mdescLeft">&#160;</td><td class="mdescRight">耐久度，不可破坏的物品可能为任意负值 <br /></td></tr>
<tr class="separator:a1555359d7cdfdaba548208da98a6f06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7cede2e9984e90cba978a02045adcc9"><td class="memItemLeft" align="right" valign="top"><a id="ae7cede2e9984e90cba978a02045adcc9" name="ae7cede2e9984e90cba978a02045adcc9"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>max_durability</b></td></tr>
<tr class="memdesc:ae7cede2e9984e90cba978a02045adcc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">最大耐久度，不可破坏的物品可能为任意负值 <br /></td></tr>
<tr class="separator:ae7cede2e9984e90cba978a02045adcc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec06711b8f4551614a43facd072a3e6e"><td class="memItemLeft" align="right" valign="top"><a id="aec06711b8f4551614a43facd072a3e6e" name="aec06711b8f4551614a43facd072a3e6e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>unbreakable</b> = false</td></tr>
<tr class="memdesc:aec06711b8f4551614a43facd072a3e6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否可以破坏 <br /></td></tr>
<tr class="separator:aec06711b8f4551614a43facd072a3e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >物品基类 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a354a59be320769cdcec902e6c11ad4bc" name="a354a59be320769cdcec902e6c11ad4bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a354a59be320769cdcec902e6c11ad4bc">&#9670;&nbsp;</a></span>getClassName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual QString BaseItem::getClassName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>类名 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p>在 <a class="el" href="class_glass_purple.html#a2ab803914dbb6b7451e563712ecbc79a">GlassPurple</a>, <a class="el" href="class_glass_red.html#aad58c5dcb5de51558567eee0448960a9">GlassRed</a>, <a class="el" href="class_lost_eye.html#ad9ea023f00be3fce2343a608256f8f7f">LostEye</a>, <a class="el" href="class_osseous_remains.html#ac4830456d54e4c0d22f03c07111d69db">OsseousRemains</a>, <a class="el" href="class_axe.html#aed86ea53f01615fdaf4e79ab5ed36d80">Axe</a>, <a class="el" href="class_fire_elemental_weapon.html#a37045aeb643a4f4052dc4f819373b7f0">FireElementalWeapon</a>, <a class="el" href="class_ice_elemental_weapon.html#a99e4093875f9242ef6d937953f4e1244">IceElementalWeapon</a>, <a class="el" href="class_leaf_elemental_weapon.html#ae65b865837b76423b9f9d42a9df75c2f">LeafElementalWeapon</a> , 以及 <a class="el" href="class_none_weapon.html#af6b11323144d49527668395bb666c1ec">NoneWeapon</a> 内被实现.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_item_a354a59be320769cdcec902e6c11ad4bc_icgraph.png" border="0" usemap="#aclass_base_item_a354a59be320769cdcec902e6c11ad4bc_icgraph" alt=""/></div>
<map name="aclass_base_item_a354a59be320769cdcec902e6c11ad4bc_icgraph" id="aclass_base_item_a354a59be320769cdcec902e6c11ad4bc_icgraph">
<area shape="rect" title="类名" alt="" coords="639,56,809,83"/>
<area shape="rect" href="class_base_mob.html#ac4b3326a103b23a7807f62818e1337f1" title=" " alt="" coords="430,5,578,32"/>
<area shape="rect" href="class_drop_object.html#a065b9ed51b69bb2b7fe87076e4120244" title="设置掉落物的物品对象指针" alt="" coords="435,56,573,83"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,107,591,133"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,107,369,133"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,81,199,108"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,132,169,159"/>
</map>
</div>

</div>
</div>
<a id="a55e1e3ef6da56e19cf614bc017912ac0" name="a55e1e3ef6da56e19cf614bc017912ac0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55e1e3ef6da56e19cf614bc017912ac0">&#9670;&nbsp;</a></span>getDropProbability()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int BaseItem::getDropProbability </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取掉落概率 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="ab2bdbbfbd53ce17757c91a8400a23a89" name="ab2bdbbfbd53ce17757c91a8400a23a89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2bdbbfbd53ce17757c91a8400a23a89">&#9670;&nbsp;</a></span>getDurability()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int BaseItem::getDurability </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取物品当前耐久 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="af33b79b244475fc25c2a4dade622b2d5" name="af33b79b244475fc25c2a4dade622b2d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af33b79b244475fc25c2a4dade622b2d5">&#9670;&nbsp;</a></span>getImgPath()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const QString &amp; BaseItem::getImgPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>提供给前端的图片路径 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p>被 <a class="el" href="class_glass_purple.html#a1e2fb18f4d52598299da3fe464ad99f9">GlassPurple</a>, <a class="el" href="class_glass_red.html#a80854bd701e8cbd685d3f592db510080">GlassRed</a>, <a class="el" href="class_lost_eye.html#a8eacdda93c146939bcbe8f0208b1f8ef">LostEye</a> , 以及 <a class="el" href="class_osseous_remains.html#acc0ee1e40c1be17ba57627abb03d66a4">OsseousRemains</a> 重载.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_item_af33b79b244475fc25c2a4dade622b2d5_icgraph.png" border="0" usemap="#aclass_base_item_af33b79b244475fc25c2a4dade622b2d5_icgraph" alt=""/></div>
<map name="aclass_base_item_af33b79b244475fc25c2a4dade622b2d5_icgraph" id="aclass_base_item_af33b79b244475fc25c2a4dade622b2d5_icgraph">
<area shape="rect" title="提供给前端的图片路径" alt="" coords="176,5,327,32"/>
<area shape="rect" href="class_drop_object.html#a0c126800326518f92a1a27a592202e99" title="供前端使用的绘制函数" alt="" coords="5,5,128,32"/>
</map>
</div>

</div>
</div>
<a id="a1017a64916848f8b7b3671590a610964" name="a1017a64916848f8b7b3671590a610964"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1017a64916848f8b7b3671590a610964">&#9670;&nbsp;</a></span>getMaxDurability()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int BaseItem::getMaxDurability </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取物品最大耐久 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a2cf660a7184a8e0c905b41e1648bb5b9" name="a2cf660a7184a8e0c905b41e1648bb5b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cf660a7184a8e0c905b41e1648bb5b9">&#9670;&nbsp;</a></span>isUnbreakable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BaseItem::isUnbreakable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取是否不可破坏 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a90c0d86f19fd5f9a7bdbd7ce48ee6e75" name="a90c0d86f19fd5f9a7bdbd7ce48ee6e75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90c0d86f19fd5f9a7bdbd7ce48ee6e75">&#9670;&nbsp;</a></span>use()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool BaseItem::use </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回物品是否损坏 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_item_a90c0d86f19fd5f9a7bdbd7ce48ee6e75_icgraph.png" border="0" usemap="#aclass_base_item_a90c0d86f19fd5f9a7bdbd7ce48ee6e75_icgraph" alt=""/></div>
<map name="aclass_base_item_a90c0d86f19fd5f9a7bdbd7ce48ee6e75_icgraph" id="aclass_base_item_a90c0d86f19fd5f9a7bdbd7ce48ee6e75_icgraph">
<area shape="rect" title="返回物品是否损坏" alt="" coords="247,13,353,39"/>
<area shape="rect" href="class_base_player.html#aac31c29c954679acce97217293bad308" title="刷新攻击冷却并根据传入的attack攻击" alt="" coords="5,5,199,47"/>
</map>
</div>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Item/<a class="el" href="_base_item_8h_source.html">BaseItem.h</a></li>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Item/BaseItem.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
